#include "StdAfx.h"
#include "Matiere.h"


Matiere::Matiere(string nom, float note , int coef ):_nom(nom),Note(note,coef)
{
}


Matiere::~Matiere(void)
{
}

string Matiere::GetNom() const {
	return _nom;
}

string Matiere::ToString() const {
	return _nom + ": " + Note::ToString();
}

ANote*  Matiere::HeapClone() const{
	return new Matiere(_nom,GetValeur(),GetCoef());
}